/*
 * @Date: 2024-11-22 11:17:21
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-11-22 11:18:26
 * @Description: 
 */
import { defineAsyncComponent } from "vue";
  
/**
 * * 异步加载组件
 * @param loader
 * @returns
 */
export const loadAsyncComponent = (
  loader,
  loadingComponent
) =>
  defineAsyncComponent({
    loader,
    loadingComponent,
    delay: 80,
  });
  